<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import rem from "./rem/rem.js";
import utilCommon from "@/util/common";

export default {
  name: "app",
  data() {
    return {
      transitionName: ""
    };
  },
  created() {
    console.log('app')
    if (window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) != "micromessenger" && !utilCommon.ENV()) {
      this.$router.replace({
        name: "NewWechat"
      });
      return;
    }
  },
  mounted() {},

  methods: {
    error() {}
  }
};
</script>

<style lang="css">
.mint-indicator-wrapper{
  z-index: 99999;
}
@import "styles/index.css";
body {
  /* padding-bottom:1.56rem; */
  background: #f4f4f4;
  /* font-family: 'Avenir', Helvetica, Arial, sans-serif; */
  font-family: "Avenir, Helvetica, Arial, sans-serif,microsoft yahei,HanHei SC,PingHei,PingFang SC,STHeitiSC-Light";
  /* font-family: -San Francisco, sans-serif; */
}
.mint-swipe-indicator {
  background: #000;
  border: 1px solid black;
}
.mint-swipe-indicator.is-active {
  background: #ddd;
}
</style>
<style lang="scss">
@import "styles/modules/index.scss";
</style>
